package com.blue.base.demo.vo;

import com.alibaba.fastjson.JSON;
import com.blue.base.common.bean.tree.TreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 部门树节点
 *
 * @author liulei
 * @version 1.0
 */
@ApiModel("返回实体")
@Data
public class RoleTreeVo extends TreeNode {
    /**
     * 备注
     */
    @ApiModelProperty("描述")
    private String description;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
